/* EditSlideshow */

#import <Cocoa/Cocoa.h>


#define PREF_EDIT_SLIDESHOW_FRAME_RECT	@"EditSlideshow.frameRect"


@class SlideshowModel;


@interface EditSlideshow : NSObject
{
    IBOutlet NSWindow		*mainWindow;
    IBOutlet NSButton		*autoSlides;
    IBOutlet NSTextField	*durationTime;
    IBOutlet NSComboBox		*durationUnits;
    IBOutlet NSTableView	*folderList;
    IBOutlet NSTableView	*ignoreList;
    IBOutlet NSTextField	*nameText;
    IBOutlet NSButton		*okButton;
    IBOutlet NSMatrix		*order;


	SlideshowModel			*ssModel;
	NSString				*lastFolderChosen;
}

- (IBAction)addFolder:(id)sender;
- (IBAction)addIgnore:(id)sender;
- (IBAction)autoChangeSlidesClick:(id)sender;
- (IBAction)editFolder:(id)sender;
- (IBAction)editIgnore:(id)sender;
- (IBAction)onCancel:(id)sender;
- (IBAction)onOK:(id)sender;
- (IBAction)removeFolder:(id)sender;
- (IBAction)removeIgnore:(id)sender;


- (id) initEmpty;
- (id) initWithModel:(SlideshowModel*) model;

- (NSWindow *) mainWindow;

- (void) saveDialogData;

@end
